package com.ruoyi.business.domain.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.business.domain.BusOperator;
import com.ruoyi.common.annotation.Excel;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.io.Serializable;
import java.util.Date;

/**
 * 承包商工人信息对象 bus_cbsgrxx
 *
 * @author yaowei
 * @date 2021-07-03
 */
public class BusCbsgrxxSaveVO implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    private Long id;

    /**
     * 承包商主键
     */
    @Excel(name = "承包商主键")
    private Long cbsId;

    /**
     * 姓名
     */
    @Excel(name = "姓名")
    private String xm;

    /**
     * 身份证号码
     */
    @Excel(name = "身份证号码")
    private String sfzhm;

    /**
     * 岗位代码
     */
    @Excel(name = "岗位代码")
    private String gwdm;

    /**
     * 定薪
     */
    @Excel(name = "定薪")
    private String dx;

    /**
     * 工作地点
     */
    @Excel(name = "工作地点")
    private String gzdd;

    /**
     * 入职时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "入职时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date rzjs;

    /**
     * 离职时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "离职时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date lzsj;

    /**
     * 联系方式
     */
    @Excel(name = "联系方式")
    private String lxfs;

    /**
     * 职责代码
     */
    @Excel(name = "职责代码")
    private String zzdm;

    /**
     * 工作状态代码
     */
    @Excel(name = "工作状态代码")
    private String gzztdm;

    /**
     * 岗位名称
     */
    @Excel(name = "岗位名称")
    private String gwmc;

    /**
     * 工作状态名称
     */
    @Excel(name = "工作状态名称")
    private String gzztmc;

    /**
     * 职责名称
     */
    @Excel(name = "职责名称")
    private String zzmc;

    /**
     * 备注
     */
    @Excel(name = "备注")
    private String bz;


    public void setId(Long id) {
        this.id = id;
    }

    public Long getId() {
        return id;
    }

    public void setCbsId(Long cbsId) {
        this.cbsId = cbsId;
    }

    public Long getCbsId() {
        return cbsId;
    }

    public void setXm(String xm) {
        this.xm = xm;
    }

    public String getXm() {
        return xm;
    }

    public void setSfzhm(String sfzhm) {
        this.sfzhm = sfzhm;
    }

    public String getSfzhm() {
        return sfzhm;
    }

    public void setGwdm(String gwdm) {
        this.gwdm = gwdm;
    }

    public String getGwdm() {
        return gwdm;
    }

    public void setDx(String dx) {
        this.dx = dx;
    }

    public String getDx() {
        return dx;
    }

    public void setGzdd(String gzdd) {
        this.gzdd = gzdd;
    }

    public String getGzdd() {
        return gzdd;
    }

    public void setRzjs(Date rzjs) {
        this.rzjs = rzjs;
    }

    public Date getRzjs() {
        return rzjs;
    }

    public void setLzsj(Date lzsj) {
        this.lzsj = lzsj;
    }

    public Date getLzsj() {
        return lzsj;
    }

    public void setLxfs(String lxfs) {
        this.lxfs = lxfs;
    }

    public String getLxfs() {
        return lxfs;
    }

    public void setZzdm(String zzdm) {
        this.zzdm = zzdm;
    }

    public String getZzdm() {
        return zzdm;
    }

    public void setGzztdm(String gzztdm) {
        this.gzztdm = gzztdm;
    }

    public String getGzztdm() {
        return gzztdm;
    }

    public void setGwmc(String gwmc) {
        this.gwmc = gwmc;
    }

    public String getGwmc() {
        return gwmc;
    }

    public void setGzztmc(String gzztmc) {
        this.gzztmc = gzztmc;
    }

    public String getGzztmc() {
        return gzztmc;
    }

    public void setZzmc(String zzmc) {
        this.zzmc = zzmc;
    }

    public String getZzmc() {
        return zzmc;
    }

    public void setBz(String bz) {
        this.bz = bz;
    }

    public String getBz() {
        return bz;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("cbsId", getCbsId())
                .append("xm", getXm())
                .append("sfzhm", getSfzhm())
                .append("gwdm", getGwdm())
                .append("dx", getDx())
                .append("gzdd", getGzdd())
                .append("rzjs", getRzjs())
                .append("lzsj", getLzsj())
                .append("lxfs", getLxfs())
                .append("zzdm", getZzdm())
                .append("gzztdm", getGzztdm())
                .append("gwmc", getGwmc())
                .append("gzztmc", getGzztmc())
                .append("zzmc", getZzmc())
                .append("bz", getBz())
                .toString();
    }
}
